﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace IntelligentGateway.SmartCommunity.Model
{
    public class CemsInfo
    {
        public int cems_id { get; set; }
        public string ceme_ip { get; set; }
    }

    public class ElevatorState
    {
        public int ladderid { get; set; }//梯号
        public int direction { get; set; }//方向 0=停止，1=上行，2=下行
        public int direction_old { get; set; }//电梯停止前方向
        public int floor { get; set; }//物理楼层
        public string dfloor { get; set; }//显示楼层
        public int Tk { get; set; }//0=退出梯控，1=进入梯控
    }
    

    public class LiftStatusReturn
    {
        public string method { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
        public int req_id { get; set; }
    }

    public class LiftStatus
    {
        public string method { get; set; }
        public List<LiftStatusData> data { get; set; }
        public int req_id { get; set; }
    }

    public class LiftStatusData
    {
        public string deviceID { get; set; }            // 设备唯一序列号
        public string samplingTime { get; set; }
        public int pFloor { get; set; }
        public int direction { get; set; }
        public int door { get; set; }
        public int fault { get; set; }
        public int oss { get; set; }
        public int control { get; set; }
        public string dFloor { get; set; }
        public int type { get; set; }
    }


}
